<script>
export default {
  name: "topPicks"
}
</script>

<template>
<div>
  <div class="w">
    <div class="mianFei">
      <div class="mf-title">
        <div>
          <img src="../assets/头条标.png" alt=""/>
          <p>头条精选</p>
        </div>
        <a href="#">更多</a>
      </div>
      <div class="mf-Conter">
        <div class="mf-ce-mb2">
          <div class="mf-ce-mb2-img">
            <img src="../assets/t1.webp" alt=""/></div>
          <p>热烈祝贺（天亮教育X名堂红</p>
        </div>
        <div class="mf-ce-mb2">
          <div class="mf-ce-mb2-img">
            <img src="../assets/t2.png" alt=""/></div>
          <p>热烈祝贺（天亮教育X名堂红</p>
        </div>
        <div class="mf-ce-mb2">
          <div class="mf-ce-mb2-img">
            <img src="../assets/t3.jpg" alt=""/></div>
          <p>热烈祝贺（天亮教育X名堂红</p>
        </div>
        <div class="mf-ce-mb2">
          <div class="mf-ce-mb2-img">
            <img src="../assets/t4.jpg" alt=""/></div>
          <p>热烈祝贺（天亮教育X名堂红</p>
        </div>
        <div class="mf-ce-mb2">
          <div class="mf-ce-mb2-img">
            <img src="../assets/t5.jpg" alt=""/>
          </div>
          <p>热烈祝贺（天亮教育X名堂红</p>
        </div>


      </div>
    </div>
  </div>
</div>
</template>

<style scoped lang="less">
* {
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
}
li{
  list-style: none;
}
.w {
  width: 1200px;
  margin: 0 auto;

}
.mianFei{
  border: 1px solid white;
  background-color: white;
  border-radius: 10px;
  margin: 10px 0;
}
.mf-Conter{
  height: 240px;
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}
.mf-title {
  display: flex;
  justify-content: space-between;
  align-items:end;
  border-bottom: 1px solid black;
  padding: 10px 5px;
  padding-bottom: 0;

}
.mf-title div {
  display: flex;
  align-items: end;
}
.mf-title div p {
  font-size: 25px;
}
.mf-title a {
  font-size: 19px;
}
.mf-ce-mb2 {
  width: 200px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px grey;
  overflow: hidden;
}
.mf-ce-mb2-img {
  width: 200px;
  height: 120px;
  overflow: hidden;
}
.mf-ce-mb2-img:hover img{
  transform: scale(1.2, 1.2);
}
.mf-ce-mb2-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s linear;

}
.mf-ce-mb2 p {
  margin: 5px;
}
</style>